<?php
declare(strict_types=1);

namespace app\common\enum\order;

use app\common\enum\EnumBasics;

class ExtractStatus extends EnumBasics
{
    // 待自提
    const NOT_EXTRACT = 10;

    // 已自提
    const EXTRACT = 20;

    /**
     * 获取枚举数据
     * @return array
     */
    public static function data()
    {
        return [
            self::NOT_EXTRACT => [
                'name' => '待自提',
                'value' => self::NOT_EXTRACT,
            ],
            self::EXTRACT => [
                'name' => '已提货',
                'value' => self::EXTRACT,
            ],
        ];
    }

}
